# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Javier 'Phrodo_00' Aravena <phrodo.00@gmail.com>

pkgname=gbrainy
pkgver=2.4.6
pkgrel=1
epoch=1
pkgdesc="A brain teaser game and trainer to have fun and to keep your brain trained"
arch=('any')
url="https://wiki.gnome.org/Apps/gbrainy"
license=('GPL2')
depends=('gtk-sharp-3' 'librsvg' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('intltool' 'itstool')
source=(https://gent.softcatala.org/jmas/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('bc6e94d91e989891c9a8dd6178089aadbb9bc652f519f740fcfa74a50c2085ba')

build() {
  cd $pkgname-$pkgver

  export MONO_SHARED_DIR="$srcdir"
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
